<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>



<!-- Main component for a primary marketing message or call to action -->

<div class="panel panel-default" ng-controller="StuinfoController">
		<div class="panel-heading">
			<h3 class="panel-title">学生信息</h3>
<button class="btn btn-primary" ng-click="addStuinfo()">添加</button>

		</div>
		<div class="panel-body">


				<table class="table">
						<tr>
<th>序号</th>
<th>院系</th>
<th>班级</th>
<th>学号</th>
<th>姓名</th>
<th>性别</th>
<th>出生年月</th>
<th>籍贯</th>
<th>民族</th>
<th>身份证号</th>
<th>政治面貌</th>
<th>入党时间</th>
<th>联系电话</th>
<th>操作</th>

</tr>

<tr ng-repeat=" s in students">

 <th>{{$index+1}}</th>
 <th>{{s.yx}}</th>
 <th>{{s.bj}}</th>

 <th>{{s.xh}}</th>
 <th>{{s.xm}}</th>
 <th>{{s.xb}}</th>
 <th>{{s.csny.time |date:'yyyy年MM月dd日'}}</th>
 <th>{{s.jg}}</th>
 <th>{{s.mz}}</th>
 <th>{{s.sfzh}}</th>
 <th>{{s.zzmm}}</th>
 <th>{{s.rdsj.time |date:'yyyy年MM月dd日'}}</th>
 <th>{{s.lxdh}}</th>
 <td>
<a class="btn btn-info" href="/manage/main.jsp#!/addStudent/{{s.stuinfoid}}">修改</a>
<button class="btn btn-danger" ng-click="delete(s)">删除</button>
 </td>
</tr>



</table>





		</div>
	</div>
